<taglib name="mkrtags" />
<!--  功能操作区域  -->

<table width="100%"   cellpadding="0" cellspacing="0" >
  <tr>
    <td width="60%">
	    <span><input type="button"  onclick="add()" class="button1" title="增加数据" value="增加数据" /> </span>
	    <span><input type="button"  onclick="edit()" class="button1" title="编辑数据" value="编辑数据" /> </span>
	    <span><input type="button"  onclick="view()" class="button1" title="查看详细数据" value="查看详细" /> </span>
	    <span><input type="button"  onclick="del()" class="button1" title="删除数据" value="删除数据" /> </span>

		    <span>
			    <input type="button"  onclick="display('searchbox')" class="button1" title="搜索数据" value="搜索数据▼" />
			    <div class="searchbox" id="searchbox" style="display:none">
			        <table cellpadding="0" cellspacing="0">
			          <tr>
			            <td class="ewTableHeader">关键词:</td>
			            <td class="ewTableAltRow"><input id="searchkey" type="text"  name="searchkey"  value="{$searchkey}" /></td>
			          </tr>
			          <tr>
			          	<td class="ewTableHeader">条件:</td>
			            <td class="ewTableAltRow"><mkrtags:radio id="searchtype" name="searchtype"  outtable="Array" value="$searchtype" outfield="AND,OR" outkey="AND,OR" /></td>
			          </tr>
			          <tr>
			            <td colspan="2"  class="ewTableAltRow">
			            <input type="submit"   class="button1" value="搜索" />
			            <input type="button" name="delete" onclick="location.href='__URL__/index/'" class="button1" value="清空" />
			            </td>
			          </tr>
			        </table>
			    </div>
		    </span>

    </td>
  </tr>
</table>
<!-- 功能操作区域结束 -->
<!-- Myhtml 系统列表组件开始 -->
<table id="Workipdatas_backup_List" class="list">
  <tr class="row" >
    <th width="8"> <input type="checkbox" id="check" onclick="CheckAll('Workipdatas_backup_List')">
    </th>

    <th> <a class="titleth" href="javascript:AjaxSortBy('Workipdatas_backup','ajaxlist','id','<php> echo getsorttype('id');</php>','Workipdatas_backup_Grid')"  title="按照公共ID排序">公共ID
      <php> echo getsorttype('id',1);</php>
      </a> </th>

    <th> <a class="titleth" href="javascript:AjaxSortBy('Workipdatas_backup','ajaxlist','pagefrom','<php> echo getsorttype('pagefrom');</php>','Workipdatas_backup_Grid')"  title="按照来源URL排序">来源URL
      <php> echo getsorttype('pagefrom',1);</php>
      </a> </th>

    <th> <a class="titleth" href="javascript:AjaxSortBy('Workipdatas_backup','ajaxlist','pageurl','<php> echo getsorttype('pageurl');</php>','Workipdatas_backup_Grid')"  title="按照页面URL排序">页面URL
      <php> echo getsorttype('pageurl',1);</php>
      </a> </th>

    <th> <a class="titleth" href="javascript:AjaxSortBy('Workipdatas_backup','ajaxlist','time','<php> echo getsorttype('time');</php>','Workipdatas_backup_Grid')"  title="按照访问时间排序">访问时间
      <php> echo getsorttype('time',1);</php>
      </a> </th>

    <th> <a class="titleth" href="javascript:AjaxSortBy('Workipdatas_backup','ajaxlist','ip','<php> echo getsorttype('ip');</php>','Workipdatas_backup_Grid')"  title="按照IP地址排序">IP地址
      <php> echo getsorttype('ip',1);</php>
      </a> </th>

    <th> <a class="titleth" href="javascript:AjaxSortBy('Workipdatas_backup','ajaxlist','language','<php> echo getsorttype('language');</php>','Workipdatas_backup_Grid')"  title="按照客户端语言排序">客户端语言
      <php> echo getsorttype('language',1);</php>
      </a> </th>

    <th> <a class="titleth" href="javascript:AjaxSortBy('Workipdatas_backup','ajaxlist','color','<php> echo getsorttype('color');</php>','Workipdatas_backup_Grid')"  title="按照客户端色深排序">客户端色深
      <php> echo getsorttype('color',1);</php>
      </a> </th>

    <th> <a class="titleth" href="javascript:AjaxSortBy('Workipdatas_backup','ajaxlist','screensize','<php> echo getsorttype('screensize');</php>','Workipdatas_backup_Grid')"  title="按照客户端分辨率排序">客户端分辨率
      <php> echo getsorttype('screensize',1);</php>
      </a> </th>

    <th> <a class="titleth" href="javascript:AjaxSortBy('Workipdatas_backup','ajaxlist','http_user_agent','<php> echo getsorttype('http_user_agent');</php>','Workipdatas_backup_Grid')"  title="按照浏览器用户排序">浏览器用户
      <php> echo getsorttype('http_user_agent',1);</php>
      </a> </th>

    <th> <a class="titleth" href="javascript:AjaxSortBy('Workipdatas_backup','ajaxlist','pagefromsite','<php> echo getsorttype('pagefromsite');</php>','Workipdatas_backup_Grid')"  title="按照来源网站排序">来源网站
      <php> echo getsorttype('pagefromsite',1);</php>
      </a> </th>

    <th> <a class="titleth" href="javascript:AjaxSortBy('Workipdatas_backup','ajaxlist','keyword','<php> echo getsorttype('keyword');</php>','Workipdatas_backup_Grid')"  title="按照关键词排序">关键词
      <php> echo getsorttype('keyword',1);</php>
      </a> </th>

    <th> <a class="titleth" href="javascript:AjaxSortBy('Workipdatas_backup','ajaxlist','alexatool','<php> echo getsorttype('alexatool');</php>','Workipdatas_backup_Grid')"  title="按照ALEX用户排序">ALEX用户
      <php> echo getsorttype('alexatool',1);</php>
      </a> </th>

    <th> <a class="titleth" href="javascript:AjaxSortBy('Workipdatas_backup','ajaxlist','timezone','<php> echo getsorttype('timezone');</php>','Workipdatas_backup_Grid')"  title="按照客户端时区排序">客户端时区
      <php> echo getsorttype('timezone',1);</php>
      </a> </th>

    <th> <a class="titleth" href="javascript:AjaxSortBy('Workipdatas_backup','ajaxlist','firsttime','<php> echo getsorttype('firsttime');</php>','Workipdatas_backup_Grid')"  title="按照首次访问时间排序">首次访问时间
      <php> echo getsorttype('firsttime',1);</php>
      </a> </th>

    <th> <a class="titleth" href="javascript:AjaxSortBy('Workipdatas_backup','ajaxlist','lasttime','<php> echo getsorttype('lasttime');</php>','Workipdatas_backup_Grid')"  title="按照上次访问时间排序">上次访问时间
      <php> echo getsorttype('lasttime',1);</php>
      </a> </th>

    <th> <a class="titleth" href="javascript:AjaxSortBy('Workipdatas_backup','ajaxlist','system','<php> echo getsorttype('system');</php>','Workipdatas_backup_Grid')"  title="按照客户端OS排序">客户端OS
      <php> echo getsorttype('system',1);</php>
      </a> </th>

    <th> <a class="titleth" href="javascript:AjaxSortBy('Workipdatas_backup','ajaxlist','browser','<php> echo getsorttype('browser');</php>','Workipdatas_backup_Grid')"  title="按照客户端浏览器排序">客户端浏览器
      <php> echo getsorttype('browser',1);</php>
      </a> </th>

    <th> <a class="titleth" href="javascript:AjaxSortBy('Workipdatas_backup','ajaxlist','todayfirst','<php> echo getsorttype('todayfirst');</php>','Workipdatas_backup_Grid')"  title="按照todayfirst排序">todayfirst
      <php> echo getsorttype('todayfirst',1);</php>
      </a> </th>

    <th> <a class="titleth" href="javascript:AjaxSortBy('Workipdatas_backup','ajaxlist','return','<php> echo getsorttype('return');</php>','Workipdatas_backup_Grid')"  title="按照回头客排序">回头客
      <php> echo getsorttype('return',1);</php>
      </a> </th>

    <th> <a class="titleth" href="javascript:AjaxSortBy('Workipdatas_backup','ajaxlist','ismark','<php> echo getsorttype('ismark');</php>','Workipdatas_backup_Grid')"  title="按照是否处理排序">是否处理
      <php> echo getsorttype('ismark',1);</php>
      </a> </th>

    <th> <a class="titleth" href="javascript:AjaxSortBy('Workipdatas_backup','ajaxlist','create_on','<php> echo getsorttype('create_on');</php>','Workipdatas_backup_Grid')"  title="按照[系统]加入时间排序">[系统]加入时间
      <php> echo getsorttype('create_on',1);</php>
      </a> </th>

    <th> <a class="titleth" href="javascript:AjaxSortBy('Workipdatas_backup','ajaxlist','update_on','<php> echo getsorttype('update_on');</php>','Workipdatas_backup_Grid')"  title="按照[系统]更新时间排序">[系统]更新时间
      <php> echo getsorttype('update_on',1);</php>
      </a> </th>

    <th >操作区域</th>
  </tr>
  <php> if(isset($list)): </php>
  <php> $i = 0; </php>
  <php> if( count($list)==0 ) echo "" </php>
  <php> foreach($list as $key=>$list): </php>
  <php> ++$i;</php>
  <php> $mod = (($i % 2 )==0)</php>
  <php> if(($key%2)==0){ $tablesclass="ewTableAltRow";} else { $tablesclass="ewTableRow";} </php>
  <tr class="{$tablesclass}" onmouseover="ew_mouseover(this);" onmouseout="ew_mouseout(this);" onclick="ew_click(this);"  >
    <td><input type="checkbox" name="key"	value="{$list.id}"></td>

    <td title="公共ID"> <mkrtags:text id="id" name="id"  value="$list.id"/> </td>

    <td title="来源URL"> <mkrtags:text id="pagefrom" name="pagefrom"  value="$list.pagefrom"/> </td>

    <td title="页面URL"> <mkrtags:text id="pageurl" name="pageurl"  value="$list.pageurl"/> </td>

    <td title="访问时间"> <mkrtags:text id="time" name="time"  value="$list.time"/> </td>

    <td title="IP地址"> <mkrtags:text id="ip" name="ip"  value="$list.ip"/> </td>

    <td title="客户端语言"> <mkrtags:text id="language" name="language"  value="$list.language"/> </td>

    <td title="客户端色深"> <mkrtags:text id="color" name="color"  value="$list.color"/> </td>

    <td title="客户端分辨率"> <mkrtags:text id="screensize" name="screensize"  value="$list.screensize"/> </td>

    <td title="浏览器用户"> <mkrtags:text id="http_user_agent" name="http_user_agent"  value="$list.http_user_agent"/> </td>

    <td title="来源网站"> <mkrtags:text id="pagefromsite" name="pagefromsite"  value="$list.pagefromsite"/> </td>

    <td title="关键词"> <mkrtags:text id="keyword" name="keyword"  value="$list.keyword"/> </td>

    <td title="ALEX用户"> <mkrtags:text id="alexatool" name="alexatool"  value="$list.alexatool"/> </td>

    <td title="客户端时区"> <mkrtags:text id="timezone" name="timezone"  value="$list.timezone"/> </td>

    <td title="首次访问时间"> <mkrtags:text id="firsttime" name="firsttime"  value="$list.firsttime"/> </td>

    <td title="上次访问时间"> <mkrtags:text id="lasttime" name="lasttime"  value="$list.lasttime"/> </td>

    <td title="客户端OS"> <mkrtags:text id="system" name="system"  value="$list.system"/> </td>

    <td title="客户端浏览器"> <mkrtags:text id="browser" name="browser"  value="$list.browser"/> </td>

    <td title="todayfirst"> <mkrtags:text id="todayfirst" name="todayfirst"  value="$list.todayfirst"/> </td>

    <td title="回头客"> <mkrtags:text id="return" name="return"  value="$list.return"/> </td>

    <td title="是否处理"> <mkrtags:text id="ismark" name="ismark"  value="$list.ismark"/> </td>

    <td title="[系统]加入时间"> <mkrtags:time id="create_on" name="create_on"  value="$list.create_on"/> </td>

    <td title="[系统]更新时间"> <mkrtags:time id="update_on" name="update_on"  value="$list.update_on"/> </td>

    <td>
    	<a href="javascript:edit('{$list.id}')" title="编辑本信息">编辑</a>
     	<a href="javascript:del('{$list.id}')" title="删除本信息">删除</a>
     	<a href="javascript:view('{$list.id}')" title="查看详细信息">详细</a>
    </td>
  </tr>
  <php> endforeach; </php>
  <php> endif; </php>
</table>
<!--Myhtml系统列表组件结束 -->
<!--  分页显示区域 -->
<div class="page">
  <table width="100%">
    <tr>
      <td align="left"></td>
      <td align="right">{$page}</td>
    </tr>
  </table>
</div>
<!--  分页显示区域结束 -->
